package xinxin.com.AbstractFactoryPatternWithSimpleFactory.Sql.SqlDetail;

import xinxin.com.AbstractFactoryPatternWithSimpleFactory.DataObject.User;
import xinxin.com.AbstractFactoryPatternWithSimpleFactory.Sql.IUser;

/**
 * @author ：史鑫鑫
 * @date ：Created in 2019/3/25 20:31
 */
public class SqlserverUser implements IUser {
    public void Insert(User user) {
        System.out.println("在SQL Server中给User表增加一条记录");
    }

    public User GetUser(int id) {
        System.out.println("在SQL Server中根据ID得到User表一条记录");
        return null;
    }
}
